package com.pipayshop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pipayshop.domain.ShopCommodityHistory;
import com.pipayshop.domain.vo.ShopCommodityMinVo;
import com.pipayshop.entity.vo.PageDataVO;

import java.util.List;

/**
 * @author xiaoqiu
 * @date 2024/9/23 10:33
 * @description
 */

public interface OnlineStoreShopCommodityHistoryService extends IService<ShopCommodityHistory> {

    boolean addHistory(ShopCommodityHistory shopCommodityHistory);

    boolean deleteHistory(String userId, String commodityId);

    boolean orderDeleteHistory();

//    List<ShopCommodityMinVo> selectAllHistoryProductByUserId(String userId);
    PageDataVO getHistory(Integer page, Integer limit, String userId);

}
